package com.slf.demo.product.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author slf
 * @date 2021/7/15
 */
@Controller
public class LoginController {
    @GetMapping("/")
    public String home(){
        return "home";
    }
    @GetMapping("/home")
    public String homePage(){
        return "home";
    }
    @GetMapping("/login")
    public String login(){
        return "login";
    }

    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }
}
